<template>
    <div>
            <h1>我是 index 组件</h1>
            <router-link to="/account"> 点击 显示 account</router-link>
            <router-view></router-view>
    </div>
</template>

<script>
export default {
    
}
</script>

<style scoped>
   div >>> h1{
        margin :100px auto;
        color :pink;
        background-color :#eee;
    }
</style>